Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return user to login page on unauthenticated HTMX request #971

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

elfjes
Copy link
Collaborator

@elfjes elfjes commented Nov 27, 2024

requires #955

fixes #981

@elfjes elfjes changed the title Hx redirect login Return user to login page on unauthenticated HTMX request Nov 27, 2024
Copy link

sonarcloud bot commented Nov 28, 2024

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 75.97%. Comparing base (c6c6d01) to head (c41a417).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
src/argus/htmx/middleware.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #971   +/-   ##
=======================================
  Coverage   75.97%   75.97%           
=======================================
  Files         132      132           
  Lines        4865     4865           
=======================================
  Hits         3696     3696           
  Misses       1169     1169           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

Successfully merging this pull request may close these issues.

An expired session messes up layout when autoreloading
2 participants